package com.stylefeng.guns.rest.enums;

public enum EnWzPrize {

    //购买的券状态
    COUPONORDER_STATUS_NORMAL("可使用",1),
    COUPONORDER_STATUS_Zero("0库存",2),
    COUPONORDER_STATUS_INVALID("过期",3),

    //奖券状态
    COUPON_STATUS_WaitCheck("审核中",1),
    COUPON_STATUS_Pass("审核通过",2),
    COUPON_STATUS_Reject("审核驳回",3),
    COUPON_STATUS_Release("发布中",4),
    COUPON_STATUS_End("过期",5),
    //券类型
    TYPE_Prize_Coupon("抽奖",1),
    TYPE_Activity_Coupon("活动券",2),
    TYPE_Shopping_Coupon("商城券",3),
    //礼券状态
    COUPON_STATUS_Prize("活动抽奖用",0),
    COUPON_STATUS_NORMAL("正常",1),
    COUPON_STATUS_USED("已使用",2),
    COUPON_STATUS_INVALID("失效",3),
    //奖品状态
    STATUS_EDITOR("编辑中",1),
    STATUS_WaitCheck("审核中",2),
    STATUS_REJECT("审核驳回",3),
    STATUS_SUCCESS("审核通过",4),
    STATUS_RELEASE("发布中",5),
    STATUS_DOWN("下架",6),
    STATUS_Invalid("失效",7);

    private String name ;
    private int index ;

    private EnWzPrize(String name , int index ){
        this.name = name ;
        this.index = index ;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }
}
